package com.kaixin001.tk.datatype;

import java.util.LinkedList;
import java.util.List;

public class RanchInfo {

	private List<Animail> animails = new LinkedList<Animail>();
		
	private List<AnimailProduct> products = new LinkedList<AnimailProduct>();
	
	private int water = -1;
	
	private String waterTips = "";
	
	private int grass = 0;
	
	private String grassTips = "";

	/**
	 * @return the animails
	 */
	public List<Animail> getAnimails() {
		return animails;
	}

	/**
	 * @param animails the animails to set
	 */
	public void setAnimails(List<Animail> animails) {
		this.animails = animails;
	}

	/**
	 * @return the products
	 */
	public List<AnimailProduct> getProducts() {
		return products;
	}

	/**
	 * @param products the products to set
	 */
	public void setProducts(List<AnimailProduct> products) {
		this.products = products;
	}

	/**
	 * @return the water
	 */
	public int getWater() {
		return water;
	}

	/**
	 * @param water the water to set
	 */
	public void setWater(String water) {
		try{			
			int n = Integer.parseInt(water);
			this.water = n;
		}
		catch (Exception e) {			
		}		
	}

	/**
	 * @return the waterTips
	 */
	public String getWaterTips() {
		return waterTips;
	}

	/**
	 * @param waterTips the waterTips to set
	 */
	public void setWaterTips(String waterTips) {
		this.waterTips = waterTips;
	}

	/**
	 * @return the grass
	 */
	public int getGrass() {
		return grass;
	}

	/**
	 * @param grass the grass to set
	 */
	public void setGrass(String grass) {
		
		try{			
			int n = Integer.parseInt(grass);
			this.grass = n;
		}
		catch (Exception e) {			
		}	
	}

	/**
	 * @return the grassTips
	 */
	public String getGrassTips() {
		return grassTips;
	}

	/**
	 * @param grassTips the grassTips to set
	 */
	public void setGrassTips(String grassTips) {
		this.grassTips = grassTips;
	}
	
	
	
}
